package com.chen.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chen.dao.MedicalAssayMapper;
import com.chen.entity.MedicalAssay;
import com.chen.service.MedicalAssayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MedicalAssayServiceImpl  extends ServiceImpl<MedicalAssayMapper,MedicalAssay> implements MedicalAssayService {
    @Autowired
    MedicalAssayMapper medicalAssayMapper;
    @Override
    public List<MedicalAssay> getLis(MedicalAssay medicalAssay) {
        List<MedicalAssay> list = medicalAssayMapper.queryAllByLimit(medicalAssay);
        return list;
    }

}
